.PHONY:all
all:test_code test_thread
test_code:testcode.cc
	g++ -o $@ $^ -lpthread -std=c++11
test_thread:testThread.cc
	g++ -o $@ $^ -lpthread -std=c++11
.PHONY:clean
clean:
	rm -f test_thread